﻿<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="Provincias.aspx.vb" Inherits="_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
        <table style="width: 680px; height: 450px;">
        <tr>
            <td align="center" colspan="6">
                <asp:Label ID="Label27" runat="server" Font-Size="Large" ForeColor="#9966FF" 
                    Text="Administracion de Provincias"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right">
                &nbsp;</td>
            <td align="left">
                &nbsp;</td>
            <td align="right">
                &nbsp;</td>
            <td align="left">
                &nbsp;</td>
            <td align="right">
                &nbsp;</td>
            <td align="left">
                &nbsp;</td>
        </tr>
        <tr>
            <td align="right">
    <asp:Label ID="Label2" runat="server" Text="Id Provincia:"></asp:Label>
            </td>
            <td align="left">
    <asp:TextBox ID="txtidProvincia" runat="server" ReadOnly="True" Width="31px"></asp:TextBox>
            </td>
            <td align="right">
    <asp:Label ID="Label3" runat="server" Text="Provincia:"></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="txtProvincia" runat="server"></asp:TextBox>
            </td>
            <td align="right">
    <asp:Label ID="Label4" runat="server" Text="Pais:"></asp:Label>
            </td>
            <td align="left">
                <asp:DropDownList ID="ddlPaises" runat="server" AutoPostBack="True">
    </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td >
                </td>
            <td >
                </td>
            <td >
                </td>
            <td >
                </td>
            <td >
                </td>
            <td >
                </td>
        </tr>
        <tr>
            <td align="center" colspan="6" >
    <asp:Button ID="btnNuevo" runat="server" Text="Nuevo" />
    <asp:Button ID="btnAceptar" runat="server" Text="Aceptar" Enabled="False" />
    <asp:Button ID="btnCancelar" runat="server" Text="Cancelar" Enabled="False" />
            </td>
        </tr>
        <tr>
            <td >
                </td>
            <td >
                </td>
            <td >
                </td>
            <td >
                </td>
            <td>
                </td>
            <td>
                </td>
        </tr>
        <tr>
            <td align="center" colspan="6" valign="top">
    <asp:GridView ID="gvProvincias" runat="server" AutoGenerateColumns="False" 
        CellPadding="4" DataKeyNames="id_provincia,id_pais" ForeColor="#333333" 
        GridLines="None" EmptyDataText="No hay provincias cargadas" 
        AllowPaging="True" PageSize="5">
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <Columns>
            <asp:BoundField DataField="id_provincia" HeaderText="Id Provincia" />
            <asp:BoundField DataField="Provincia" HeaderText="Provincia" />
            <asp:CommandField ShowSelectButton="True" />
            <asp:CommandField ButtonType="Image" DeleteImageUrl="~/Imagenes/trash.gif" 
                ShowDeleteButton="True" />
        </Columns>
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#99CCFF" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#999999" />
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
    </asp:GridView>
            </td>
        </tr>
        </table>
</asp:Content>
